<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>
<%@ include file="static/imgHost.jsp"%>
<!doctype html>

<!--告诉浏览器当前网页使用的是中文，声明后将有便于外部程序对网页进行翻译，例如有道翻译等等-->
<html lang="zh-CN">

<head>

<!--编码格式为 utf-8(国际编码)-->
<meta charset="utf-8">

<!--设置页面关键字-->
<meta name="keywords" content="设置网站关键字">

<!--设置页面的描述-->
<meta name="description" content="设置页面的描述,建议在200字以内">

<!--设置浏览器优先使用急速模式-->
<meta name="renderer" content="webkit">

<!--禁止移动设备UC浏览器对字体大小的控制-->
<meta name="wap-font-scale" content="no">

<!--告诉IE使用最新的引擎渲染网页，chrome=1则可以激活Chrome Frame(谷歌浏览器内嵌框架)-->
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">

<!--建立一个视觉窗口, 可视区域宽度等于设备宽度, 初始缩放比例为1倍, 最小缩放比例为1倍, 最大缩放比例为1倍, 禁止用户进行缩放-->
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no">

<title>红包才开后</title>

<link rel="stylesheet" href="<%=basePath%>css/zhicwl.css">
<link rel="stylesheet" href="<%=basePath%>css/zhicwl-bj.css">
<link rel="stylesheet" href="<%=basePath%>css/zhicwl-zj.css">

<script src="<%=basePath%>js/fontSize.js"></script>
<script src="<%=basePath%>js/jquery-1.11.3.min.js"></script>

</head>

<body>

<style>
body{ background-color: #F0EFED;}
</style>

<div class="aelser">  
  <div class="aelser-div">
  	<section class="padding-lr-15">
    	<div class="lkse-left"><a href="<%=basePath%>member/u/searchRedPacket"><img src="<%=basePath%>images/img54.png"></a></div>
    	<div class="lkse-right">
        <h5>红包详情</h5>
        <h6>凭此红包进店消费抵${redPacket.price}元现金</h6>
      </div>
    </section>
    <img class="iallsf" src="<%=basePath%>images/img53.png">
  </div>
  
  <c:choose>
		<c:when test="${empty redPacket.avatar}"><img class="aelser-log" src="<%=basePath%>images/img51.png"></c:when>
		<c:otherwise><img class="aelser-log" src="<%=imgHost%>${redPacket.avatar}"></c:otherwise>
	</c:choose>
</div>

<div class="lapleb background-color2">

  <div class="dilatie padding-lr-15">
    <h5>${redPacket.shopName}<span>拼</span></h5>
    <h6>恭喜发财, 大吉大利!</h6>
  </div>	
  
  <div class="aklwmrc">
    <h5>${redPacket.price}<span>元</span></h5>
    <h6 class="color7">已存入零钱，可直接购买</h6>
  </div>
  
</div>

<p class="yialmstr">${redPacket.eventName}</p>

<div class="likliu background-color2 padding-lr-15">

	<ul>
  	<li>
    	<div class="likliu-left">
    		<c:choose>
				<c:when test="${empty redPacket.avatar}"><img src="<%=basePath%>images/img51.png"></c:when>
				<c:otherwise><img src="<%=imgHost%>${redPacket.avatar}"></c:otherwise>
			</c:choose>
    	</div>
      <div class="likliu-center">
      	<h6 class="fontsize-16 color8 font-weight-bold">${redPacket.shopName}</h6>
        <a class="color7 fontsize-15 font-weight-bold" href="###">留言</a>	
      </div>
      
      <c:choose>
			<c:when test="${redPacket.mode == 2}">
			<div class="likliu-right fontsize-18"><span>${redPacket.goods_amount}</span> 元</div>
			</c:when>
			<c:otherwise>
			<div class="likliu-right fontsize-18"><span>${redPacket.limit_amount}</span> 元</div>
			</c:otherwise>
		</c:choose>
      
      
    </li>
  </ul>

</div>
<div style="height:100px;"></div>
  
<script src="js/zhicwl.js"></script>
  
</body>
</html>